package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wk
 * @create 2021-06-04 16:40
 */
@Controller
public class TestController {

    @RequestMapping("/helloword")
    public String helloword() {
        return "success";
    }

    @RequestMapping("/checkout")
    public String checkout(String username,String password) {
        System.out.println("用户名:"+username+",密码:"+password);
        return "success";

    }
}
